Skip to content

Conversation

ramsessanchez
Copy link
Contributor

Adding two regex expressions to the Directives list which will remove paths from generation based on Operation Id matches:

.exceptionOccurrence.$|
.instance(_|.).$|

  1. Anything with exceptionOccurrence in the operation id, this is because exceptionOccurrence shouldn't exist in the URI path at all as it is a navigation property.

  2. Anything where the operation id includes path .instance. or .instance_. This is because instance shouldn't be followed by path segment in the URI, instead it should always be followed by a datetime window query according to documentation. instance_ implies that the URI has the following instance/{event-id}/ which we know isn't allowed since instance needs to be at the end and followed by a date time window query.

timayabi2020 and others added 18 commits August 13, 2024 12:26
@ramsessanchez ramsessanchez requested a review from a team as a code owner May 30, 2025 21:46
@ramsessanchez ramsessanchez changed the title Ramsess/add directive for powershell generation Unblock powershell Generation in the Calendar Module May 30, 2025
@ramsessanchez ramsessanchez changed the title Unblock powershell Generation in the Calendar Module Unblock PowerShell Generation in the Calendar Module May 30, 2025
@MIchaelMainer
Copy link
Contributor

To be clear....

  1. The reason why exceptionOccurrences is not part of an id is that it isn't used as a segment. That navigation is only accessed via select and expand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants